package com.hmall.item.service;

import com.hmall.common.dto.ItemDoc;
import com.hmall.common.dto.PageDTO;
import com.hmall.common.dto.RequestParams;

import java.util.List;
import java.util.Map;

public interface searchService  {

    PageDTO<ItemDoc> seach(RequestParams  params);

    List<String> getSuggestions(String prefx);

    Map<String, List<String>> filters(RequestParams requestParams);



    void inserById(Long id);

    void deleById(Long id);

}
